list = [1, 2, 3, 4, 5]
a = 0
for i in list:
    if i > a:
        a = i
print("最大值是{}".format(a))